We have developed a stabilized Benders' decomposition in our generic library BapCod. This allowed to produce state-of-the-art results for an energy production planning.